package com.kinoshita.admin.api.domain;

import com.kinoshita.common.domain.BaseDO;

import java.util.List;

public class RoleDO extends BaseDO {

    private String code;

    private String name;

    private List<Long> permissionIds;

    private List<PermissionDO> permissionList;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Long> getPermissionIds() {
        return permissionIds;
    }

    public void setPermissionIds(List<Long> permissionIds) {
        this.permissionIds = permissionIds;
    }

    public List<PermissionDO> getPermissionList() {
        return permissionList;
    }

    public void setPermissionList(List<PermissionDO> permissionList) {
        this.permissionList = permissionList;
    }
}
